﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;
using EverBuy.SocialNetworking.BusinessObjects;

namespace EverBuy.SocialNetworking.Services
{
    /// <summary>
    /// 
    /// </summary>
    [ServiceContract]
    public partial interface IPrivacyService : IDisposable
    {
        /// <summary>
        /// 
        /// </summary>
        /// <param name="privacyFlagTypeID"></param>
        /// <param name="accountBeingViewed"></param>
        /// <param name="account"></param>
        /// <param name="flags"></param>
        /// <returns></returns>
        [OperationContract]
        bool ShouldShow(Int32 privacyFlagTypeID,
                        Account accountBeingViewed,
                        Account account,
                        List<PrivacyFlag> flags);

    }

    public enum VisibilityLevels
    {
        Private = 1,
        Friends = 2,
        Public = 3
    }
}
